ComponentOne ASP.NET MVC Controls
ItemRole Method

C1.Web.Mvc.Fluent Namespace > ListBoxBuilder<T> Class : ItemRole Method
The value.
Configurates C1.Web.Mvc.ListBox<T>.ItemRole. Sets the value of the "role" attribute added to the list items.
Syntax
'Declaration
 
Public Function ItemRole( _
   ByVal value As String _
) As ListBoxBuilder(Of T)
public ListBoxBuilder<T> ItemRole( 
   string value
)

Parameters

value
The value.

Return Value

Current builder.
Remarks
The default value for this property is "option".
See Also

Reference

ListBoxBuilder<T> Class
ListBoxBuilder<T> Members